Teacher Version

Hero Image
Hero Image

Looped Decisions

Topics Covered

  • If/Else Block in Loop Block
  • Repeated Decisions

Virtual Robot: MazeRunnerVR.rbg

Physical Robot: MazeRunner.rbg

Check Your Understanding

  1. What happens when you place an If/Else Conditional Block inside a Repeat Forever Loop?
    1. The robot runs in a circle until told to stop.
    2. The robot makes a decision once, then repeats the result many times.
    3. The robot makes a decision many times, taking whatever action is appropriate each time.
    4. You cannot place an If/Else Statement Block inside a Repeat Forever Loop.

ClosedClick here for the Answers

C. The robot makes a decision many times, taking whatever action is appropriate each time.

© 2016 Robomatter, Inc.

Portions of this product are manufactured under license from Carnegie Mellon University.